Microwave filters GUI  2.0.3
Classes | Packages | Functions | Variables
libcommonfunc.py File Reference

Go to the source code of this file.

Classes

class  libcommonfunc.parseError
 Parse error catch. More...
class  libcommonfunc.synthError
 Synthesis error catch. More...
class  libcommonfunc.licenseError
 License error catch. More...
class  libcommonfunc.Parameters
 Filter, synthesis and sweep parameters. More...
class  libcommonfunc.Sparameters
 [S] parameters class. More...
class  libcommonfunc.MatrixQ
 Class that contains a coupling matrix, its name, the number of non-resonant nodes, the Q of resonators and some operations. More...
class  libcommonfunc.CouplingMatrices
 Coupling matrices class. More...
class  libcommonfunc.FrequencyTransformBP
 Frequency transformation fro band pass to low pass prototype. More...

Packages

namespace  libcommonfunc
 Library of common functions for microwave filters synthesis.

Functions

def libcommonfunc.setGlobalVariablesLibCommonFunc
 Function to allow the GUI set values to the global variables of libcomonfunc module.
def libcommonfunc.readVerbose
 Returns the value of the global verbose variable.
def libcommonfunc.pkgNameVersion
 Retrieves software package name and version from string.
def libcommonfunc.myPrint
 Prints on standard output if console application.
def libcommonfunc.printHeader
 Prints application header info.
def libcommonfunc.readParamFile
 Read parameters file and return a Parameter class instance.
def libcommonfunc.criticalErrorMsg
 Show critical error message.
def libcommonfunc.warningMsg
 Show warning message.
def libcommonfunc.informationMsg
 Show information message.
def libcommonfunc.askQuestion
 Show dialog to ask question.
def libcommonfunc.listStr
 Nicely convert list of floats to string, rounding to 'prec' significant digits.
def libcommonfunc.complexStr
 Nicely convert complex number to string, rounding real and imaginary parts to 'prec' significant digits.
def libcommonfunc.validate
 

List of Chebash parameters to ignore

chebashIgnoreList = ['n_ceros', 'n_frecpropias_eq', 'real', 'imag', 'tipo_transformacion', 'graf[1]', 'graf[2]', 'graf[3]', 'graf[5]', 'graf[6]', 'graf[7]', 'graf[8]', 'graf[9]', 'graf[10]', 'graf[11]', 'graf[12]', 'graf[13]', 'graf[14]', 'graf[15]', 'graf[16]', 'graf[17]', 'graf[18]']
def libcommonfunc.copy
 Function to copy instances of the Parameters class (copies the self instance).
def libcommonfunc.__str__
 Special method to print parameter class (prints the self instance).

Variables

dictionary libcommonfunc.parameterDict
 Dictionary of parameter keywords and variable names.
int libcommonfunc.saveSignificantDigits = 14
 Number of significant digits to save in files.
int libcommonfunc.saveSignificantDigitsEnergy = 4
 Number of significant digits to save in energy and power results.
 libcommonfunc.mainWindow = None
 Module global variable equal either to None or to the GUI QMainWindow class instance, containing the application main window.
 libcommonfunc.verbose = False
 Module global variable equal to True if the GUI has been called with the -v flag command line option.
 libcommonfunc.nogui = False
 Module global variable equal to True if the GUI has been called with the –nogui flag command line option.
string libcommonfunc.preGuiOutput = ''
 String containing console output generated before the GUI main window exists.
 libcommonfunc.CP = CMSPNone
list libcommonfunc.nonSymmZeros = [ ]
 def normRealFreq(f): """ Auxiliary function """ return (f/self.f0 - self.f0/f)*self.f0/self.BW

Detailed Description

Definition in file libcommonfunc.py.